<script>on mouseUpset the cursor to busyput the selectedText of the target into theIndexif ((theIndex is "*") or (theIndex is "•")) thenput flipThem(bg fld "Flip") into nullelse if (theIndex is not "") thenput sayIt(theIndex) into nullif ("$Directory$" is in "$" & (word 1 of the short name of this stack) & "$") thenif ((the optionKey is down) or (the shiftKey is down)) thenput goIt(theIndex) into nullelselock messageslock screenput "*" into theNamesput the itemDelimiter into originalSettingset the itemDelimiter to ":"repeat with i = (the number of this cd + 1) to the number of cdsif (theIndex is "*All*") thenif (item 2 of the short name of cd i is not "") thenput theNames & return & (item 2 of the short name of cd i) into theNamesend ifelseif ("$" & theIndex & ":" is in "$" & the short name of cd i) thenput theNames & return & (item 2 of the short name of cd i) into theNamesend ifend ifend repeatset the itemDelimiter to originalSettingput theNames & return & "•" into cd fld "Names"send ("sort lines of cd fld " & quote & "Names" & quote & " " & bg fld "Flip" & " international") to HyperCardunlock messagesunlock screenend ifelse if ("$Read$" is in "$" & (word 1 of the short name of this stack) & "$") thengo first cd of bg "2"put the itemDelimiter into originalSettingset the itemDelimiter to ":"put stackFolder() & ":" into theFolderput item 1 of theFolder into theFolderset the itemDelimiter to "("put item 2 of the short name of this stack into theFileset the itemDelimiter to ")"put item 1 of theFile into theFileset the itemDelimiter to originalSettingput theIndex into bg fld "Title"open file theFolder & ":" & theFile & ":" & theIndexread from file theFolder & ":" & theFile & ":" & theIndex until endclose file theFolder & ":" & theFile & ":" & theIndexput line 1 to 39 of it into bg fld "Text"put "1" into bg fld "Read"elseput goIt(theIndex) into nullend ifend ifend mouseUp</script>
</part>
<content>
<layer>background</layer>
<id>4</id>
<text>(Index)</text>
</content>
<content>
<layer>card</layer>
<id>1</id>
<text>*CD-ROM:DoneCD-ROM:ToDoSystem Info | Macintosh HD:•</text>
</content>
<content>
<layer>background</layer>
<id>3</id>
<text>*CD-ROM:DoneCD-ROM:ToDoSystem Info | Macintosh HD:•</text>
</content>
<name>(Index)</name>
<script>on closeCardif ("*" is not in the short name of this stack) then put cd fld "Index" into bg fld "Text"pass closeCardend closeCardon openCardset the cursor to busylock messageslock screenif (bg fld "Text" is "") thenput "*" into theIndexif ("$Directory$" is in "$" & (word 1 of the short name of this stack) & "$") thenput theIndex & return & "*All*" into theIndexput the itemDelimiter into originalSettingset the itemDelimiter to ":"repeat with i = (the number of this cd + 1) to the number of cdsif (item 2 of the short name of cd i is "") thenput theIndex & return & (item 1 of the short name of cd i) into theIndexend ifend repeatset the itemDelimiter to originalSettingsend ("mouseUp") to cd fld "Index"else if ("$Read$" is in "$" & (word 1 of the short name of this stack) & "$") thenput the itemDelimiter into originalSettingset the itemDelimiter to ":"put stackFolder() & ":" into theFolderput item 1 of theFolder into theFolderset the itemDelimiter to "("put item 2 of the short name of this stack into theFileset the itemDelimiter to ")"put item 1 of theFile into theFileset the itemDelimiter to originalSettingput theIndex & return & listFiles(theFolder & ":" & theFile,) into theIndexelserepeat with i = (the number of this cd + 1) to the number of cdsput theIndex & return & (the short name of cd i) into theIndexend repeatend ifput theIndex & return & "•" into cd fld "Index"send ("sort lines of cd fld " & quote & "Index" & quote & " " & bg fld "Flip" & " international") to HyperCardrepeat with i = 1 to the number of cd fldsif (the style of cd fld i is scrolling) then set the scroll of cd fld i to 0end repeatelseput bg fld "Text" into cd fld "Index"end ifif ("*" is in the short name of this stack) thensend (bg fld "Text") to HyperCardhide cd fld "Index"send ("doMenu " & quote & "Close Stack" & quote & "," & quote & "File" & quote) to HyperCardend ifchoose browse toolunlock messagesunlock screen with visual effect dissolve fastpass openCardend openCard</script>
</card>
card_4505.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >